package com.njtoyo.taxi.admin.mapper.secondary.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.secondary.entity.RoleResourceMapping;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色资源映射表 Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-06-21
 */
@Repository
@DS(Const.SECONDARY_DS)
public interface RoleResourceMappingMapper extends BaseMapper<RoleResourceMapping> {

    Integer insertBatch(@Param("list") List<RoleResourceMapping> list);
}
